翻訳と辞書 |
Direct style : ウィキペディア英語版 | Direct style In computer programming, direct style is the usual style of sequential programming, in which control is passed implicitly by simply going to the next line, by subroutine calls, or by constructs such as return , yield , or await . It is contrasted with continuation-passing style, in which control is passed explicitly in the form of a continuation. Direct style programming is widely viewed as easier to write and understand than continuation-passing style, and thus a number of programming language constructs exist to eliminate or minimize the need to explicitly use continuations. In mainstream languages continuation-passing style primarily occurs by passing closures as callbacks (function arguments), and thus direct style more simply means that functions return a value, rather than taking a function argument. ==Programming constructs== Programming constructs that enable direct style programming include coroutines, which in turn can implement generators and futures, all of which enable a direct style.〔(【引用サイトリンク】title=Javascript's Future: Generators )〕〔(【引用サイトリンク】url=http://docs.scala-lang.org/sips/pending/async.html )〕
抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)』 ■ウィキペディアで「Direct style」の詳細全文を読む
スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース |
Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.
|
|